﻿using ReflectionStudio.Core.Events;
using System;
using System.Data;
using System.Windows;
using System.Windows.Data;
using System.ComponentModel;
using System.Collections.Generic;
namespace WPFExcelReport
{
    public partial class UIAPKOPF : ViewBase
    {
        public override void ManageCommand(object sender, RoutedEventArgs e)
        {
            if (!IsManage)
            {
                VICC_WFEVENTS.SVWF.AP02(this.RUNID);
            }

            base.ManageCommand(sender, e);
        }
        public void ResetSeq(object sender, RoutedEventArgs e)
        {
            if (!TMV.IsITX)
            {
                return;
            }
            VSDDAT.SD22.RESETSEQ("0022", KRS, "APFAUFTR", "1");
            dwData = TBMain.NewRow();
            dwData["APKMANDANT"] = app.Mandant;
            TMV.DAPK00(dwData);

            dwData = TMV.APF.TBMain.NewRow();
            dwData["APFMANDANT"] = app.Mandant;
            TMV.APF.DAPF00(dwData);
            dwData = TMV.APEK.TBMain.NewRow();
            dwData["APAKMANDANT"] = app.Mandant;
            TMV.APEK.DAPL00(dwData);

            dwData = TMV.ARE.TBMain.NewRow();
            dwData["APAEMANDANT"] = app.Mandant;
            TMV.ARE.DARE00(dwData);

            dwData = TMV.APZ.TBMain.NewRow();
            dwData["APZMANDANT"] = app.Mandant;
            TMV.APZ.DAPZ00(dwData);

        }
        public override void vwMaster_CurrentChanged(object sender, EventArgs e)
        {
            base.vwMaster_CurrentChanged(sender, e);
            dwAP = dwMaster;
            if (dwMaster == null)
            {
                KEY = "";  
            }
            else
            {
                KEY = TMV.APKANRKRS + TMV.APKALFDNR; 
            }
        }
        public override void Window_Loaded(object sender, RoutedEventArgs e)
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return;
            base.Window_Loaded(sender, e);
        }
        public override void LOADBYAUF()
        {
            if (!IsCanLoad)
                return;
            TBMain.Clear();
            if (ORDERNUM.Length == 0)
                return;
            dwData = TMV.TBMain.NewRow();
            dwData["APKMANDANT"] = app.Mandant;
            dwData["APKANRKRS"] = "AND APKANRKRS= '" + ORDERNUM.Substring(0, 2) + "'";
            dwData["APKALFDNR"] = "AND APKALFDNR= '" + ORDERNUM.Substring(2, 6) + "'"; 
            SResult = TMV.QAPK03(dwData);
            MergeData(SResult, true);
            base.LOADBYAUF();
        }
    }
    public partial class UIAPKOPF
    {
        public VAPKOPF TMV
        {
            get
            {
                return (VAPKOPF)MV;
            }
        }

        #region ==APKZUSATZKZ1===========
        public static readonly DependencyProperty APKZUSATZKZ1Property = DependencyProperty.Register("APKZUSATZKZ1",
            typeof(string), typeof(UIAPKOPF),
            new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKZUSATZKZ1Changed));
        public string APKZUSATZKZ1
        {
            get
            {
                return (string)GetValue(APKZUSATZKZ1Property);
            }
            set
            {
                SetValue(APKZUSATZKZ1Property, value);
                OnAPKZUSATZKZ1Chg();
            }
        }
        private static void OnAPKZUSATZKZ1Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var src = sender as UIAPKOPF;
            if (src != null)
            {
                src.APKZUSATZKZ1 = (string)e.NewValue;
            }
        }
        public virtual void OnAPKZUSATZKZ1Chg()
        {
            if (!IsEdit)
                return;
            if (dwMaster == null)
                return;
            TMV.APKZUSATZKZ1 = APKZUSATZKZ1;
        }
        #endregion
        #region ==APKZUSATZKZ2===========
        public static readonly DependencyProperty APKZUSATZKZ2Property = DependencyProperty.Register("APKZUSATZKZ2",
            typeof(string), typeof(UIAPKOPF),
            new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKZUSATZKZ2Changed));
        public string APKZUSATZKZ2
        {
            get
            {
                return (string)GetValue(APKZUSATZKZ2Property);
            }
            set
            {
                SetValue(APKZUSATZKZ2Property, value);
                OnAPKZUSATZKZ2Chg();
            }
        }
        private static void OnAPKZUSATZKZ2Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var src = sender as UIAPKOPF;
            if (src != null)
            {
                src.APKZUSATZKZ2 = (string)e.NewValue;
            }
        }
        public virtual void OnAPKZUSATZKZ2Chg()
        {
            if (!IsEdit)
                return;
            if (dwMaster == null)
                return;
            TMV.APKZUSATZKZ2 = APKZUSATZKZ2;
        }
        #endregion
        #region ==APKZUSATZKZ3===========
        public static readonly DependencyProperty APKZUSATZKZ3Property = DependencyProperty.Register("APKZUSATZKZ3",
            typeof(string), typeof(UIAPKOPF),
            new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKZUSATZKZ3Changed));
        public string APKZUSATZKZ3
        {
            get
            {
                return (string)GetValue(APKZUSATZKZ3Property);
            }
            set
            {
                SetValue(APKZUSATZKZ3Property, value);
                OnAPKZUSATZKZ3Chg();
            }
        }
        private static void OnAPKZUSATZKZ3Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var src = sender as UIAPKOPF;
            if (src != null)
            {
                src.APKZUSATZKZ3 = (string)e.NewValue;
            }
        }
        public virtual void OnAPKZUSATZKZ3Chg()
        {
            if (!IsEdit)
                return;
            if (dwMaster == null)
                return;
            TMV.APKZUSATZKZ3 = APKZUSATZKZ3;
        }
        #endregion
        #region ==APKZUSATZKZ4===========
        public static readonly DependencyProperty APKZUSATZKZ4Property = DependencyProperty.Register("APKZUSATZKZ4",
            typeof(string), typeof(UIAPKOPF),
            new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKZUSATZKZ4Changed));
        public string APKZUSATZKZ4
        {
            get
            {
                return (string)GetValue(APKZUSATZKZ4Property);
            }
            set
            {
                SetValue(APKZUSATZKZ4Property, value);
                OnAPKZUSATZKZ4Chg();
            }
        }
        private static void OnAPKZUSATZKZ4Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var src = sender as UIAPKOPF;
            if (src != null)
            {
                src.APKZUSATZKZ4 = (string)e.NewValue;
            }
        }
        public virtual void OnAPKZUSATZKZ4Chg()
        {
            if (!IsEdit)
                return;
            if (dwMaster == null)
                return;
            TMV.APKZUSATZKZ4 = APKZUSATZKZ4;
        }
        #endregion
        #region ==APKGZUSKZ1===========
        public static readonly DependencyProperty APKGZUSKZ1Property = DependencyProperty.Register("APKGZUSKZ1",
            typeof(string), typeof(UIAPKOPF),
            new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKGZUSKZ1Changed));
        public string APKGZUSKZ1
        {
            get
            {
                return (string)GetValue(APKGZUSKZ1Property);
            }
            set
            {
                SetValue(APKGZUSKZ1Property, value);
                
            }
        }
        private static void OnAPKGZUSKZ1Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var src = sender as UIAPKOPF;
            if (src != null)
            {
                src.APKGZUSKZ1 = (string)e.NewValue;
                src.OnAPKGZUSKZ1Chg((string)e.NewValue);
            }
        }
        public virtual void OnAPKGZUSKZ1Chg(string value)
        {
            if (!IsEdit)
                return;
            if (dwMaster == null)
                return;
            TMV.APKGZUSKZ1 = value;
        }
        #endregion
        #region ==APKGZUSKZ2===========
        public static readonly DependencyProperty APKGZUSKZ2Property = DependencyProperty.Register("APKGZUSKZ2",
            typeof(string), typeof(UIAPKOPF),
            new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKGZUSKZ2Changed));
        public string APKGZUSKZ2
        {
            get
            {
                return (string)GetValue(APKGZUSKZ2Property);
            }
            set
            {
                SetValue(APKGZUSKZ2Property, value);
              
            }
        }
        private static void OnAPKGZUSKZ2Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var src = sender as UIAPKOPF;
            if (src != null)
            {
                src.APKGZUSKZ2 = (string)e.NewValue;
                src.OnAPKGZUSKZ2Chg((string)e.NewValue);
            }
        }
        public virtual void OnAPKGZUSKZ2Chg(string value)
        {
            if (!IsEdit)
                return;
            if (dwMaster == null)
                return;
            TMV.APKGZUSKZ2 = APKGZUSKZ2;
        }
        #endregion
        #region ==APKGZUSKZ3===========
        public static readonly DependencyProperty APKGZUSKZ3Property = DependencyProperty.Register("APKGZUSKZ3",
            typeof(string), typeof(UIAPKOPF),
            new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKGZUSKZ3Changed));
        public string APKGZUSKZ3
        {
            get
            {
                return (string)GetValue(APKGZUSKZ3Property);
            }
            set
            {
                SetValue(APKGZUSKZ3Property, value);
                
            }
        }
        private static void OnAPKGZUSKZ3Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var src = sender as UIAPKOPF;
            if (src != null)
            {
                src.APKGZUSKZ3 = (string)e.NewValue;
                src.OnAPKGZUSKZ3Chg();
            }
        }
        public virtual void OnAPKGZUSKZ3Chg()
        {
            if (!IsEdit)
                return;
            if (dwMaster == null)
                return;
            TMV.APKGZUSKZ3 = APKGZUSKZ3;
        }
        #endregion
        #region ==APKGZUSKZ4===========
        public static readonly DependencyProperty APKGZUSKZ4Property = DependencyProperty.Register("APKGZUSKZ4",
            typeof(string), typeof(UIAPKOPF),
            new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKGZUSKZ4Changed));
        public string APKGZUSKZ4
        {
            get
            {
                return (string)GetValue(APKGZUSKZ4Property);
            }
            set
            {
                SetValue(APKGZUSKZ4Property, value);
               
            }
        }
        private static void OnAPKGZUSKZ4Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var src = sender as UIAPKOPF;
            if (src != null)
            {
                src.APKGZUSKZ4 = (string)e.NewValue;
                src.OnAPKGZUSKZ4Chg();
            }
        }
        public virtual void OnAPKGZUSKZ4Chg()
        {
            if (!IsEdit)
                return;
            if (dwMaster == null)
                return;
            TMV.APKGZUSKZ4 = APKGZUSKZ4;
        }
        #endregion
        #region ==dwAP===========
        public static readonly DependencyProperty dwAPProperty = DependencyProperty.Register("dwAP",
            typeof(DataRow), typeof(UIAPKOPF),
            new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OndwAPChanged));
        public DataRow dwAP
        {
            get
            {
                return (DataRow)GetValue(dwAPProperty);
            }
            set
            {
                SetValue(dwAPProperty, value);
            }
        }
        private static void OndwAPChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var src = sender as UIAPKOPF;
            if (src != null)
            {
                src.dwAP = (DataRow)e.NewValue;
            }
        }
        #endregion 
    }
    public partial class UIAPKOPF
    {

        #region======ColumnSchema==========
        /*
        #region ==APKMANDANT===========
         public static readonly DependencyProperty APKMANDANTProperty = DependencyProperty.Register("APKMANDANT",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKMANDANTChanged));
         public string APKMANDANT
         {
             get
             {
                 return (string)GetValue(APKMANDANTProperty);
             }
             set
             {
                 SetValue(APKMANDANTProperty, value);
                 OnAPKMANDANTChg();
             }
         }
         private static void OnAPKMANDANTChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKMANDANT = (string)e.NewValue;
             }
         }
         public virtual void OnAPKMANDANTChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKMANDANT=APKMANDANT;
         }
          #endregion
        #region ==APKWERK===========
         public static readonly DependencyProperty APKWERKProperty = DependencyProperty.Register("APKWERK",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKWERKChanged));
         public string APKWERK
         {
             get
             {
                 return (string)GetValue(APKWERKProperty);
             }
             set
             {
                 SetValue(APKWERKProperty, value);
                 OnAPKWERKChg();
             }
         }
         private static void OnAPKWERKChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKWERK = (string)e.NewValue;
             }
         }
         public virtual void OnAPKWERKChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKWERK=APKWERK;
         }
          #endregion
        #region ==APKANRKRS===========
         public static readonly DependencyProperty APKANRKRSProperty = DependencyProperty.Register("APKANRKRS",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKANRKRSChanged));
         public string APKANRKRS
         {
             get
             {
                 return (string)GetValue(APKANRKRSProperty);
             }
             set
             {
                 SetValue(APKANRKRSProperty, value);
                 OnAPKANRKRSChg();
             }
         }
         private static void OnAPKANRKRSChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKANRKRS = (string)e.NewValue;
             }
         }
         public virtual void OnAPKANRKRSChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKANRKRS=APKANRKRS;
         }
          #endregion
        #region ==APKALFDNR===========
         public static readonly DependencyProperty APKALFDNRProperty = DependencyProperty.Register("APKALFDNR",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKALFDNRChanged));
         public string APKALFDNR
         {
             get
             {
                 return (string)GetValue(APKALFDNRProperty);
             }
             set
             {
                 SetValue(APKALFDNRProperty, value);
                 OnAPKALFDNRChg();
             }
         }
         private static void OnAPKALFDNRChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKALFDNR = (string)e.NewValue;
             }
         }
         public virtual void OnAPKALFDNRChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKALFDNR=APKALFDNR;
         }
          #endregion
        #region ==APKSPEZIF===========
         public static readonly DependencyProperty APKSPEZIFProperty = DependencyProperty.Register("APKSPEZIF",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKSPEZIFChanged));
         public string APKSPEZIF
         {
             get
             {
                 return (string)GetValue(APKSPEZIFProperty);
             }
             set
             {
                 SetValue(APKSPEZIFProperty, value);
                 OnAPKSPEZIFChg();
             }
         }
         private static void OnAPKSPEZIFChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKSPEZIF = (string)e.NewValue;
             }
         }
         public virtual void OnAPKSPEZIFChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKSPEZIF=APKSPEZIF;
         }
          #endregion
        #region ==APKSPSTA===========
         public static readonly DependencyProperty APKSPSTAProperty = DependencyProperty.Register("APKSPSTA",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKSPSTAChanged));
         public string APKSPSTA
         {
             get
             {
                 return (string)GetValue(APKSPSTAProperty);
             }
             set
             {
                 SetValue(APKSPSTAProperty, value);
                 OnAPKSPSTAChg();
             }
         }
         private static void OnAPKSPSTAChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKSPSTA = (string)e.NewValue;
             }
         }
         public virtual void OnAPKSPSTAChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKSPSTA=APKSPSTA;
         }
          #endregion
        #region ==APKSPGRD===========
         public static readonly DependencyProperty APKSPGRDProperty = DependencyProperty.Register("APKSPGRD",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKSPGRDChanged));
         public string APKSPGRD
         {
             get
             {
                 return (string)GetValue(APKSPGRDProperty);
             }
             set
             {
                 SetValue(APKSPGRDProperty, value);
                 OnAPKSPGRDChg();
             }
         }
         private static void OnAPKSPGRDChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKSPGRD = (string)e.NewValue;
             }
         }
         public virtual void OnAPKSPGRDChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKSPGRD=APKSPGRD;
         }
          #endregion
        #region ==APKSTUFE===========
         public static readonly DependencyProperty APKSTUFEProperty = DependencyProperty.Register("APKSTUFE",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKSTUFEChanged));
         public string APKSTUFE
         {
             get
             {
                 return (string)GetValue(APKSTUFEProperty);
             }
             set
             {
                 SetValue(APKSTUFEProperty, value);
                 OnAPKSTUFEChg();
             }
         }
         private static void OnAPKSTUFEChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKSTUFE = (string)e.NewValue;
             }
         }
         public virtual void OnAPKSTUFEChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKSTUFE=APKSTUFE;
         }
          #endregion
        #region ==APKABT===========
         public static readonly DependencyProperty APKABTProperty = DependencyProperty.Register("APKABT",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKABTChanged));
         public string APKABT
         {
             get
             {
                 return (string)GetValue(APKABTProperty);
             }
             set
             {
                 SetValue(APKABTProperty, value);
                 OnAPKABTChg();
             }
         }
         private static void OnAPKABTChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKABT = (string)e.NewValue;
             }
         }
         public virtual void OnAPKABTChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKABT=APKABT;
         }
          #endregion
        #region ==APKVERSAE===========
         public static readonly DependencyProperty APKVERSAEProperty = DependencyProperty.Register("APKVERSAE",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKVERSAEChanged));
         public string APKVERSAE
         {
             get
             {
                 return (string)GetValue(APKVERSAEProperty);
             }
             set
             {
                 SetValue(APKVERSAEProperty, value);
                 OnAPKVERSAEChg();
             }
         }
         private static void OnAPKVERSAEChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKVERSAE = (string)e.NewValue;
             }
         }
         public virtual void OnAPKVERSAEChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKVERSAE=APKVERSAE;
         }
          #endregion
        #region ==APKVERSZL===========
         public static readonly DependencyProperty APKVERSZLProperty = DependencyProperty.Register("APKVERSZL",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKVERSZLChanged));
         public string APKVERSZL
         {
             get
             {
                 return (string)GetValue(APKVERSZLProperty);
             }
             set
             {
                 SetValue(APKVERSZLProperty, value);
                 OnAPKVERSZLChg();
             }
         }
         private static void OnAPKVERSZLChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKVERSZL = (string)e.NewValue;
             }
         }
         public virtual void OnAPKVERSZLChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKVERSZL=APKVERSZL;
         }
          #endregion
        #region ==APKAENDZL===========
         public static readonly DependencyProperty APKAENDZLProperty = DependencyProperty.Register("APKAENDZL",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKAENDZLChanged));
         public string APKAENDZL
         {
             get
             {
                 return (string)GetValue(APKAENDZLProperty);
             }
             set
             {
                 SetValue(APKAENDZLProperty, value);
                 OnAPKAENDZLChg();
             }
         }
         private static void OnAPKAENDZLChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKAENDZL = (string)e.NewValue;
             }
         }
         public virtual void OnAPKAENDZLChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKAENDZL=APKAENDZL;
         }
          #endregion
        #region ==APKAENDBEN===========
         public static readonly DependencyProperty APKAENDBENProperty = DependencyProperty.Register("APKAENDBEN",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKAENDBENChanged));
         public string APKAENDBEN
         {
             get
             {
                 return (string)GetValue(APKAENDBENProperty);
             }
             set
             {
                 SetValue(APKAENDBENProperty, value);
                 OnAPKAENDBENChg();
             }
         }
         private static void OnAPKAENDBENChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKAENDBEN = (string)e.NewValue;
             }
         }
         public virtual void OnAPKAENDBENChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKAENDBEN=APKAENDBEN;
         }
          #endregion
        #region ==APKAENDDAT===========
         public static readonly DependencyProperty APKAENDDATProperty = DependencyProperty.Register("APKAENDDAT",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKAENDDATChanged));
         public string APKAENDDAT
         {
             get
             {
                 return (string)GetValue(APKAENDDATProperty);
             }
             set
             {
                 SetValue(APKAENDDATProperty, value);
                 OnAPKAENDDATChg();
             }
         }
         private static void OnAPKAENDDATChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKAENDDAT = (string)e.NewValue;
             }
         }
         public virtual void OnAPKAENDDATChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKAENDDAT=APKAENDDAT;
         }
          #endregion
        #region ==APKNEUBEN===========
         public static readonly DependencyProperty APKNEUBENProperty = DependencyProperty.Register("APKNEUBEN",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKNEUBENChanged));
         public string APKNEUBEN
         {
             get
             {
                 return (string)GetValue(APKNEUBENProperty);
             }
             set
             {
                 SetValue(APKNEUBENProperty, value);
                 OnAPKNEUBENChg();
             }
         }
         private static void OnAPKNEUBENChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKNEUBEN = (string)e.NewValue;
             }
         }
         public virtual void OnAPKNEUBENChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKNEUBEN=APKNEUBEN;
         }
          #endregion
        #region ==APKNEUDAT===========
         public static readonly DependencyProperty APKNEUDATProperty = DependencyProperty.Register("APKNEUDAT",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKNEUDATChanged));
         public string APKNEUDAT
         {
             get
             {
                 return (string)GetValue(APKNEUDATProperty);
             }
             set
             {
                 SetValue(APKNEUDATProperty, value);
                 OnAPKNEUDATChg();
             }
         }
         private static void OnAPKNEUDATChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKNEUDAT = (string)e.NewValue;
             }
         }
         public virtual void OnAPKNEUDATChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKNEUDAT=APKNEUDAT;
         }
          #endregion
        #region ==APKZUSTAND===========
         public static readonly DependencyProperty APKZUSTANDProperty = DependencyProperty.Register("APKZUSTAND",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKZUSTANDChanged));
         public string APKZUSTAND
         {
             get
             {
                 return (string)GetValue(APKZUSTANDProperty);
             }
             set
             {
                 SetValue(APKZUSTANDProperty, value);
                 OnAPKZUSTANDChg();
             }
         }
         private static void OnAPKZUSTANDChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKZUSTAND = (string)e.NewValue;
             }
         }
         public virtual void OnAPKZUSTANDChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKZUSTAND=APKZUSTAND;
         }
          #endregion
    
        #region ==APKKAAGRA===========
         public static readonly DependencyProperty APKKAAGRAProperty = DependencyProperty.Register("APKKAAGRA",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKKAAGRAChanged));
         public string APKKAAGRA
         {
             get
             {
                 return (string)GetValue(APKKAAGRAProperty);
             }
             set
             {
                 SetValue(APKKAAGRAProperty, value);
                 OnAPKKAAGRAChg();
             }
         }
         private static void OnAPKKAAGRAChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKKAAGRA = (string)e.NewValue;
             }
         }
         public virtual void OnAPKKAAGRAChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKKAAGRA=APKKAAGRA;
         }
          #endregion
        #region ==APKKAAGRP===========
         public static readonly DependencyProperty APKKAAGRPProperty = DependencyProperty.Register("APKKAAGRP",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKKAAGRPChanged));
         public string APKKAAGRP
         {
             get
             {
                 return (string)GetValue(APKKAAGRPProperty);
             }
             set
             {
                 SetValue(APKKAAGRPProperty, value);
                 OnAPKKAAGRPChg();
             }
         }
         private static void OnAPKKAAGRPChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKKAAGRP = (string)e.NewValue;
             }
         }
         public virtual void OnAPKKAAGRPChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKKAAGRP=APKKAAGRP;
         }
          #endregion
        #region ==APKGRGRP1===========
         public static readonly DependencyProperty APKGRGRP1Property = DependencyProperty.Register("APKGRGRP1",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKGRGRP1Changed));
         public string APKGRGRP1
         {
             get
             {
                 return (string)GetValue(APKGRGRP1Property);
             }
             set
             {
                 SetValue(APKGRGRP1Property, value);
                 OnAPKGRGRP1Chg();
             }
         }
         private static void OnAPKGRGRP1Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKGRGRP1 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKGRGRP1Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKGRGRP1=APKGRGRP1;
         }
          #endregion
        #region ==APKGRGRP2===========
         public static readonly DependencyProperty APKGRGRP2Property = DependencyProperty.Register("APKGRGRP2",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKGRGRP2Changed));
         public string APKGRGRP2
         {
             get
             {
                 return (string)GetValue(APKGRGRP2Property);
             }
             set
             {
                 SetValue(APKGRGRP2Property, value);
                 OnAPKGRGRP2Chg();
             }
         }
         private static void OnAPKGRGRP2Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKGRGRP2 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKGRGRP2Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKGRGRP2=APKGRGRP2;
         }
          #endregion
        #region ==APKGRGRP3===========
         public static readonly DependencyProperty APKGRGRP3Property = DependencyProperty.Register("APKGRGRP3",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKGRGRP3Changed));
         public string APKGRGRP3
         {
             get
             {
                 return (string)GetValue(APKGRGRP3Property);
             }
             set
             {
                 SetValue(APKGRGRP3Property, value);
                 OnAPKGRGRP3Chg();
             }
         }
         private static void OnAPKGRGRP3Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKGRGRP3 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKGRGRP3Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKGRGRP3=APKGRGRP3;
         }
          #endregion
        #region ==APKGRGRP4===========
         public static readonly DependencyProperty APKGRGRP4Property = DependencyProperty.Register("APKGRGRP4",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKGRGRP4Changed));
         public string APKGRGRP4
         {
             get
             {
                 return (string)GetValue(APKGRGRP4Property);
             }
             set
             {
                 SetValue(APKGRGRP4Property, value);
                 OnAPKGRGRP4Chg();
             }
         }
         private static void OnAPKGRGRP4Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKGRGRP4 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKGRGRP4Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKGRGRP4=APKGRGRP4;
         }
          #endregion
        #region ==APKGRGRP5===========
         public static readonly DependencyProperty APKGRGRP5Property = DependencyProperty.Register("APKGRGRP5",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKGRGRP5Changed));
         public string APKGRGRP5
         {
             get
             {
                 return (string)GetValue(APKGRGRP5Property);
             }
             set
             {
                 SetValue(APKGRGRP5Property, value);
                 OnAPKGRGRP5Chg();
             }
         }
         private static void OnAPKGRGRP5Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKGRGRP5 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKGRGRP5Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKGRGRP5=APKGRGRP5;
         }
          #endregion
        #region ==APKGSTUFE===========
         public static readonly DependencyProperty APKGSTUFEProperty = DependencyProperty.Register("APKGSTUFE",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKGSTUFEChanged));
         public string APKGSTUFE
         {
             get
             {
                 return (string)GetValue(APKGSTUFEProperty);
             }
             set
             {
                 SetValue(APKGSTUFEProperty, value);
                 OnAPKGSTUFEChg();
             }
         }
         private static void OnAPKGSTUFEChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKGSTUFE = (string)e.NewValue;
             }
         }
         public virtual void OnAPKGSTUFEChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKGSTUFE=APKGSTUFE;
         }
          #endregion
        #region ==APKGRRAS===========
         public static readonly DependencyProperty APKGRRASProperty = DependencyProperty.Register("APKGRRAS",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKGRRASChanged));
         public string APKGRRAS
         {
             get
             {
                 return (string)GetValue(APKGRRASProperty);
             }
             set
             {
                 SetValue(APKGRRASProperty, value);
                 OnAPKGRRASChg();
             }
         }
         private static void OnAPKGRRASChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKGRRAS = (string)e.NewValue;
             }
         }
         public virtual void OnAPKGRRASChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKGRRAS=APKGRRAS;
         }
          #endregion
        #region ==APKTLVF1===========
         public static readonly DependencyProperty APKTLVF1Property = DependencyProperty.Register("APKTLVF1",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLVF1Changed));
         public string APKTLVF1
         {
             get
             {
                 return (string)GetValue(APKTLVF1Property);
             }
             set
             {
                 SetValue(APKTLVF1Property, value);
                 OnAPKTLVF1Chg();
             }
         }
         private static void OnAPKTLVF1Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLVF1 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLVF1Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLVF1=APKTLVF1;
         }
          #endregion
        #region ==APKTLAFOV1===========
         public static readonly DependencyProperty APKTLAFOV1Property = DependencyProperty.Register("APKTLAFOV1",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLAFOV1Changed));
         public string APKTLAFOV1
         {
             get
             {
                 return (string)GetValue(APKTLAFOV1Property);
             }
             set
             {
                 SetValue(APKTLAFOV1Property, value);
                 OnAPKTLAFOV1Chg();
             }
         }
         private static void OnAPKTLAFOV1Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLAFOV1 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLAFOV1Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLAFOV1=APKTLAFOV1;
         }
          #endregion
        #region ==APKTLAFOB1===========
         public static readonly DependencyProperty APKTLAFOB1Property = DependencyProperty.Register("APKTLAFOB1",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLAFOB1Changed));
         public string APKTLAFOB1
         {
             get
             {
                 return (string)GetValue(APKTLAFOB1Property);
             }
             set
             {
                 SetValue(APKTLAFOB1Property, value);
                 OnAPKTLAFOB1Chg();
             }
         }
         private static void OnAPKTLAFOB1Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLAFOB1 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLAFOB1Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLAFOB1=APKTLAFOB1;
         }
          #endregion
        #region ==APKTLVF2===========
         public static readonly DependencyProperty APKTLVF2Property = DependencyProperty.Register("APKTLVF2",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLVF2Changed));
         public string APKTLVF2
         {
             get
             {
                 return (string)GetValue(APKTLVF2Property);
             }
             set
             {
                 SetValue(APKTLVF2Property, value);
                 OnAPKTLVF2Chg();
             }
         }
         private static void OnAPKTLVF2Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLVF2 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLVF2Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLVF2=APKTLVF2;
         }
          #endregion
        #region ==APKTLAFOV2===========
         public static readonly DependencyProperty APKTLAFOV2Property = DependencyProperty.Register("APKTLAFOV2",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLAFOV2Changed));
         public string APKTLAFOV2
         {
             get
             {
                 return (string)GetValue(APKTLAFOV2Property);
             }
             set
             {
                 SetValue(APKTLAFOV2Property, value);
                 OnAPKTLAFOV2Chg();
             }
         }
         private static void OnAPKTLAFOV2Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLAFOV2 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLAFOV2Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLAFOV2=APKTLAFOV2;
         }
          #endregion
        #region ==APKTLAFOB2===========
         public static readonly DependencyProperty APKTLAFOB2Property = DependencyProperty.Register("APKTLAFOB2",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLAFOB2Changed));
         public string APKTLAFOB2
         {
             get
             {
                 return (string)GetValue(APKTLAFOB2Property);
             }
             set
             {
                 SetValue(APKTLAFOB2Property, value);
                 OnAPKTLAFOB2Chg();
             }
         }
         private static void OnAPKTLAFOB2Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLAFOB2 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLAFOB2Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLAFOB2=APKTLAFOB2;
         }
          #endregion
        #region ==APKTLVF3===========
         public static readonly DependencyProperty APKTLVF3Property = DependencyProperty.Register("APKTLVF3",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLVF3Changed));
         public string APKTLVF3
         {
             get
             {
                 return (string)GetValue(APKTLVF3Property);
             }
             set
             {
                 SetValue(APKTLVF3Property, value);
                 OnAPKTLVF3Chg();
             }
         }
         private static void OnAPKTLVF3Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLVF3 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLVF3Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLVF3=APKTLVF3;
         }
          #endregion
        #region ==APKTLAFOV3===========
         public static readonly DependencyProperty APKTLAFOV3Property = DependencyProperty.Register("APKTLAFOV3",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLAFOV3Changed));
         public string APKTLAFOV3
         {
             get
             {
                 return (string)GetValue(APKTLAFOV3Property);
             }
             set
             {
                 SetValue(APKTLAFOV3Property, value);
                 OnAPKTLAFOV3Chg();
             }
         }
         private static void OnAPKTLAFOV3Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLAFOV3 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLAFOV3Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLAFOV3=APKTLAFOV3;
         }
          #endregion
        #region ==APKTLAFOB3===========
         public static readonly DependencyProperty APKTLAFOB3Property = DependencyProperty.Register("APKTLAFOB3",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLAFOB3Changed));
         public string APKTLAFOB3
         {
             get
             {
                 return (string)GetValue(APKTLAFOB3Property);
             }
             set
             {
                 SetValue(APKTLAFOB3Property, value);
                 OnAPKTLAFOB3Chg();
             }
         }
         private static void OnAPKTLAFOB3Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLAFOB3 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLAFOB3Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLAFOB3=APKTLAFOB3;
         }
          #endregion
        #region ==APKTLVF4===========
         public static readonly DependencyProperty APKTLVF4Property = DependencyProperty.Register("APKTLVF4",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLVF4Changed));
         public string APKTLVF4
         {
             get
             {
                 return (string)GetValue(APKTLVF4Property);
             }
             set
             {
                 SetValue(APKTLVF4Property, value);
                 OnAPKTLVF4Chg();
             }
         }
         private static void OnAPKTLVF4Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLVF4 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLVF4Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLVF4=APKTLVF4;
         }
          #endregion
        #region ==APKTLAFOV4===========
         public static readonly DependencyProperty APKTLAFOV4Property = DependencyProperty.Register("APKTLAFOV4",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLAFOV4Changed));
         public string APKTLAFOV4
         {
             get
             {
                 return (string)GetValue(APKTLAFOV4Property);
             }
             set
             {
                 SetValue(APKTLAFOV4Property, value);
                 OnAPKTLAFOV4Chg();
             }
         }
         private static void OnAPKTLAFOV4Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLAFOV4 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLAFOV4Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLAFOV4=APKTLAFOV4;
         }
          #endregion
        #region ==APKTLAFOB4===========
         public static readonly DependencyProperty APKTLAFOB4Property = DependencyProperty.Register("APKTLAFOB4",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLAFOB4Changed));
         public string APKTLAFOB4
         {
             get
             {
                 return (string)GetValue(APKTLAFOB4Property);
             }
             set
             {
                 SetValue(APKTLAFOB4Property, value);
                 OnAPKTLAFOB4Chg();
             }
         }
         private static void OnAPKTLAFOB4Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLAFOB4 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLAFOB4Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLAFOB4=APKTLAFOB4;
         }
          #endregion
        #region ==APKTLVF5===========
         public static readonly DependencyProperty APKTLVF5Property = DependencyProperty.Register("APKTLVF5",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLVF5Changed));
         public string APKTLVF5
         {
             get
             {
                 return (string)GetValue(APKTLVF5Property);
             }
             set
             {
                 SetValue(APKTLVF5Property, value);
                 OnAPKTLVF5Chg();
             }
         }
         private static void OnAPKTLVF5Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLVF5 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLVF5Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLVF5=APKTLVF5;
         }
          #endregion
        #region ==APKTLAFOV5===========
         public static readonly DependencyProperty APKTLAFOV5Property = DependencyProperty.Register("APKTLAFOV5",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLAFOV5Changed));
         public string APKTLAFOV5
         {
             get
             {
                 return (string)GetValue(APKTLAFOV5Property);
             }
             set
             {
                 SetValue(APKTLAFOV5Property, value);
                 OnAPKTLAFOV5Chg();
             }
         }
         private static void OnAPKTLAFOV5Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLAFOV5 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLAFOV5Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLAFOV5=APKTLAFOV5;
         }
          #endregion
        #region ==APKTLAFOB5===========
         public static readonly DependencyProperty APKTLAFOB5Property = DependencyProperty.Register("APKTLAFOB5",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLAFOB5Changed));
         public string APKTLAFOB5
         {
             get
             {
                 return (string)GetValue(APKTLAFOB5Property);
             }
             set
             {
                 SetValue(APKTLAFOB5Property, value);
                 OnAPKTLAFOB5Chg();
             }
         }
         private static void OnAPKTLAFOB5Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLAFOB5 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLAFOB5Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLAFOB5=APKTLAFOB5;
         }
          #endregion
        #region ==APKTLVF6===========
         public static readonly DependencyProperty APKTLVF6Property = DependencyProperty.Register("APKTLVF6",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLVF6Changed));
         public string APKTLVF6
         {
             get
             {
                 return (string)GetValue(APKTLVF6Property);
             }
             set
             {
                 SetValue(APKTLVF6Property, value);
                 OnAPKTLVF6Chg();
             }
         }
         private static void OnAPKTLVF6Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLVF6 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLVF6Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLVF6=APKTLVF6;
         }
          #endregion
        #region ==APKTLAFOV6===========
         public static readonly DependencyProperty APKTLAFOV6Property = DependencyProperty.Register("APKTLAFOV6",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLAFOV6Changed));
         public string APKTLAFOV6
         {
             get
             {
                 return (string)GetValue(APKTLAFOV6Property);
             }
             set
             {
                 SetValue(APKTLAFOV6Property, value);
                 OnAPKTLAFOV6Chg();
             }
         }
         private static void OnAPKTLAFOV6Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLAFOV6 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLAFOV6Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLAFOV6=APKTLAFOV6;
         }
          #endregion
        #region ==APKTLAFOB6===========
         public static readonly DependencyProperty APKTLAFOB6Property = DependencyProperty.Register("APKTLAFOB6",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLAFOB6Changed));
         public string APKTLAFOB6
         {
             get
             {
                 return (string)GetValue(APKTLAFOB6Property);
             }
             set
             {
                 SetValue(APKTLAFOB6Property, value);
                 OnAPKTLAFOB6Chg();
             }
         }
         private static void OnAPKTLAFOB6Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLAFOB6 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLAFOB6Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLAFOB6=APKTLAFOB6;
         }
          #endregion
        #region ==APKTLVF7===========
         public static readonly DependencyProperty APKTLVF7Property = DependencyProperty.Register("APKTLVF7",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLVF7Changed));
         public string APKTLVF7
         {
             get
             {
                 return (string)GetValue(APKTLVF7Property);
             }
             set
             {
                 SetValue(APKTLVF7Property, value);
                 OnAPKTLVF7Chg();
             }
         }
         private static void OnAPKTLVF7Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLVF7 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLVF7Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLVF7=APKTLVF7;
         }
          #endregion
        #region ==APKTLAFOV7===========
         public static readonly DependencyProperty APKTLAFOV7Property = DependencyProperty.Register("APKTLAFOV7",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLAFOV7Changed));
         public string APKTLAFOV7
         {
             get
             {
                 return (string)GetValue(APKTLAFOV7Property);
             }
             set
             {
                 SetValue(APKTLAFOV7Property, value);
                 OnAPKTLAFOV7Chg();
             }
         }
         private static void OnAPKTLAFOV7Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLAFOV7 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLAFOV7Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLAFOV7=APKTLAFOV7;
         }
          #endregion
        #region ==APKTLAFOB7===========
         public static readonly DependencyProperty APKTLAFOB7Property = DependencyProperty.Register("APKTLAFOB7",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKTLAFOB7Changed));
         public string APKTLAFOB7
         {
             get
             {
                 return (string)GetValue(APKTLAFOB7Property);
             }
             set
             {
                 SetValue(APKTLAFOB7Property, value);
                 OnAPKTLAFOB7Chg();
             }
         }
         private static void OnAPKTLAFOB7Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKTLAFOB7 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKTLAFOB7Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKTLAFOB7=APKTLAFOB7;
         }
          #endregion
        #region ==APKMU===========
         public static readonly DependencyProperty APKMUProperty = DependencyProperty.Register("APKMU",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKMUChanged));
         public string APKMU
         {
             get
             {
                 return (string)GetValue(APKMUProperty);
             }
             set
             {
                 SetValue(APKMUProperty, value);
                 OnAPKMUChg();
             }
         }
         private static void OnAPKMUChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKMU = (string)e.NewValue;
             }
         }
         public virtual void OnAPKMUChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKMU=APKMU;
         }
          #endregion
        #region ==APKMURLOD===========
         public static readonly DependencyProperty APKMURLODProperty = DependencyProperty.Register("APKMURLOD",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKMURLODChanged));
         public string APKMURLOD
         {
             get
             {
                 return (string)GetValue(APKMURLODProperty);
             }
             set
             {
                 SetValue(APKMURLODProperty, value);
                 OnAPKMURLODChg();
             }
         }
         private static void OnAPKMURLODChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKMURLOD = (string)e.NewValue;
             }
         }
         public virtual void OnAPKMURLODChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKMURLOD=APKMURLOD;
         }
          #endregion
        #region ==APKMUPROD===========
         public static readonly DependencyProperty APKMUPRODProperty = DependencyProperty.Register("APKMUPROD",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKMUPRODChanged));
         public string APKMUPROD
         {
             get
             {
                 return (string)GetValue(APKMUPRODProperty);
             }
             set
             {
                 SetValue(APKMUPRODProperty, value);
                 OnAPKMUPRODChg();
             }
         }
         private static void OnAPKMUPRODChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKMUPROD = (string)e.NewValue;
             }
         }
         public virtual void OnAPKMUPRODChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKMUPROD=APKMUPROD;
         }
          #endregion
        #region ==APKMUCTOD===========
         public static readonly DependencyProperty APKMUCTODProperty = DependencyProperty.Register("APKMUCTOD",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKMUCTODChanged));
         public string APKMUCTOD
         {
             get
             {
                 return (string)GetValue(APKMUCTODProperty);
             }
             set
             {
                 SetValue(APKMUCTODProperty, value);
                 OnAPKMUCTODChg();
             }
         }
         private static void OnAPKMUCTODChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKMUCTOD = (string)e.NewValue;
             }
         }
         public virtual void OnAPKMUCTODChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKMUCTOD=APKMUCTOD;
         }
          #endregion
        #region ==APKMUDTRL===========
         public static readonly DependencyProperty APKMUDTRLProperty = DependencyProperty.Register("APKMUDTRL",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKMUDTRLChanged));
         public string APKMUDTRL
         {
             get
             {
                 return (string)GetValue(APKMUDTRLProperty);
             }
             set
             {
                 SetValue(APKMUDTRLProperty, value);
                 OnAPKMUDTRLChg();
             }
         }
         private static void OnAPKMUDTRLChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKMUDTRL = (string)e.NewValue;
             }
         }
         public virtual void OnAPKMUDTRLChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKMUDTRL=APKMUDTRL;
         }
          #endregion
        #region ==APKMUBIRL===========
         public static readonly DependencyProperty APKMUBIRLProperty = DependencyProperty.Register("APKMUBIRL",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKMUBIRLChanged));
         public string APKMUBIRL
         {
             get
             {
                 return (string)GetValue(APKMUBIRLProperty);
             }
             set
             {
                 SetValue(APKMUBIRLProperty, value);
                 OnAPKMUBIRLChg();
             }
         }
         private static void OnAPKMUBIRLChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKMUBIRL = (string)e.NewValue;
             }
         }
         public virtual void OnAPKMUBIRLChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKMUBIRL=APKMUBIRL;
         }
          #endregion
        #region ==APKVERSZLRL===========
         public static readonly DependencyProperty APKVERSZLRLProperty = DependencyProperty.Register("APKVERSZLRL",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKVERSZLRLChanged));
         public string APKVERSZLRL
         {
             get
             {
                 return (string)GetValue(APKVERSZLRLProperty);
             }
             set
             {
                 SetValue(APKVERSZLRLProperty, value);
                 OnAPKVERSZLRLChg();
             }
         }
         private static void OnAPKVERSZLRLChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKVERSZLRL = (string)e.NewValue;
             }
         }
         public virtual void OnAPKVERSZLRLChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKVERSZLRL=APKVERSZLRL;
         }
          #endregion
        #region ==APKVERSBEN===========
         public static readonly DependencyProperty APKVERSBENProperty = DependencyProperty.Register("APKVERSBEN",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKVERSBENChanged));
         public string APKVERSBEN
         {
             get
             {
                 return (string)GetValue(APKVERSBENProperty);
             }
             set
             {
                 SetValue(APKVERSBENProperty, value);
                 OnAPKVERSBENChg();
             }
         }
         private static void OnAPKVERSBENChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKVERSBEN = (string)e.NewValue;
             }
         }
         public virtual void OnAPKVERSBENChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKVERSBEN=APKVERSBEN;
         }
          #endregion
        #region ==APKLO===========
         public static readonly DependencyProperty APKLOProperty = DependencyProperty.Register("APKLO",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKLOChanged));
         public string APKLO
         {
             get
             {
                 return (string)GetValue(APKLOProperty);
             }
             set
             {
                 SetValue(APKLOProperty, value);
                 OnAPKLOChg();
             }
         }
         private static void OnAPKLOChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKLO = (string)e.NewValue;
             }
         }
         public virtual void OnAPKLOChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKLO=APKLO;
         }
          #endregion
        #region ==APKEXPROD===========
         public static readonly DependencyProperty APKEXPRODProperty = DependencyProperty.Register("APKEXPROD",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKEXPRODChanged));
         public string APKEXPROD
         {
             get
             {
                 return (string)GetValue(APKEXPRODProperty);
             }
             set
             {
                 SetValue(APKEXPRODProperty, value);
                 OnAPKEXPRODChg();
             }
         }
         private static void OnAPKEXPRODChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKEXPROD = (string)e.NewValue;
             }
         }
         public virtual void OnAPKEXPRODChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKEXPROD=APKEXPROD;
         }
          #endregion
        #region ==APKKART1===========
         public static readonly DependencyProperty APKKART1Property = DependencyProperty.Register("APKKART1",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKKART1Changed));
         public string APKKART1
         {
             get
             {
                 return (string)GetValue(APKKART1Property);
             }
             set
             {
                 SetValue(APKKART1Property, value);
                 OnAPKKART1Chg();
             }
         }
         private static void OnAPKKART1Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKKART1 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKKART1Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKKART1=APKKART1;
         }
          #endregion
        #region ==APKKZMIN1===========
         public static readonly DependencyProperty APKKZMIN1Property = DependencyProperty.Register("APKKZMIN1",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKKZMIN1Changed));
         public string APKKZMIN1
         {
             get
             {
                 return (string)GetValue(APKKZMIN1Property);
             }
             set
             {
                 SetValue(APKKZMIN1Property, value);
                 OnAPKKZMIN1Chg();
             }
         }
         private static void OnAPKKZMIN1Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKKZMIN1 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKKZMIN1Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKKZMIN1=APKKZMIN1;
         }
          #endregion
        #region ==APKKZMAX1===========
         public static readonly DependencyProperty APKKZMAX1Property = DependencyProperty.Register("APKKZMAX1",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKKZMAX1Changed));
         public string APKKZMAX1
         {
             get
             {
                 return (string)GetValue(APKKZMAX1Property);
             }
             set
             {
                 SetValue(APKKZMAX1Property, value);
                 OnAPKKZMAX1Chg();
             }
         }
         private static void OnAPKKZMAX1Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKKZMAX1 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKKZMAX1Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKKZMAX1=APKKZMAX1;
         }
          #endregion
        #region ==APKKMINWMGE1===========
         public static readonly DependencyProperty APKKMINWMGE1Property = DependencyProperty.Register("APKKMINWMGE1",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKKMINWMGE1Changed));
         public string APKKMINWMGE1
         {
             get
             {
                 return (string)GetValue(APKKMINWMGE1Property);
             }
             set
             {
                 SetValue(APKKMINWMGE1Property, value);
                 OnAPKKMINWMGE1Chg();
             }
         }
         private static void OnAPKKMINWMGE1Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKKMINWMGE1 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKKMINWMGE1Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKKMINWMGE1=APKKMINWMGE1;
         }
          #endregion
        #region ==APKKABST1===========
         public static readonly DependencyProperty APKKABST1Property = DependencyProperty.Register("APKKABST1",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKKABST1Changed));
         public string APKKABST1
         {
             get
             {
                 return (string)GetValue(APKKABST1Property);
             }
             set
             {
                 SetValue(APKKABST1Property, value);
                 OnAPKKABST1Chg();
             }
         }
         private static void OnAPKKABST1Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKKABST1 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKKABST1Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKKABST1=APKKABST1;
         }
          #endregion
        #region ==APKKZE1===========
         public static readonly DependencyProperty APKKZE1Property = DependencyProperty.Register("APKKZE1",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKKZE1Changed));
         public string APKKZE1
         {
             get
             {
                 return (string)GetValue(APKKZE1Property);
             }
             set
             {
                 SetValue(APKKZE1Property, value);
                 OnAPKKZE1Chg();
             }
         }
         private static void OnAPKKZE1Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKKZE1 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKKZE1Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKKZE1=APKKZE1;
         }
          #endregion
        #region ==APKKART2===========
         public static readonly DependencyProperty APKKART2Property = DependencyProperty.Register("APKKART2",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKKART2Changed));
         public string APKKART2
         {
             get
             {
                 return (string)GetValue(APKKART2Property);
             }
             set
             {
                 SetValue(APKKART2Property, value);
                 OnAPKKART2Chg();
             }
         }
         private static void OnAPKKART2Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKKART2 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKKART2Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKKART2=APKKART2;
         }
          #endregion
        #region ==APKKZMIN2===========
         public static readonly DependencyProperty APKKZMIN2Property = DependencyProperty.Register("APKKZMIN2",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKKZMIN2Changed));
         public string APKKZMIN2
         {
             get
             {
                 return (string)GetValue(APKKZMIN2Property);
             }
             set
             {
                 SetValue(APKKZMIN2Property, value);
                 OnAPKKZMIN2Chg();
             }
         }
         private static void OnAPKKZMIN2Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKKZMIN2 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKKZMIN2Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKKZMIN2=APKKZMIN2;
         }
          #endregion
        #region ==APKKZMAX2===========
         public static readonly DependencyProperty APKKZMAX2Property = DependencyProperty.Register("APKKZMAX2",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKKZMAX2Changed));
         public string APKKZMAX2
         {
             get
             {
                 return (string)GetValue(APKKZMAX2Property);
             }
             set
             {
                 SetValue(APKKZMAX2Property, value);
                 OnAPKKZMAX2Chg();
             }
         }
         private static void OnAPKKZMAX2Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKKZMAX2 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKKZMAX2Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKKZMAX2=APKKZMAX2;
         }
          #endregion
        #region ==APKKMINWMGE2===========
         public static readonly DependencyProperty APKKMINWMGE2Property = DependencyProperty.Register("APKKMINWMGE2",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKKMINWMGE2Changed));
         public string APKKMINWMGE2
         {
             get
             {
                 return (string)GetValue(APKKMINWMGE2Property);
             }
             set
             {
                 SetValue(APKKMINWMGE2Property, value);
                 OnAPKKMINWMGE2Chg();
             }
         }
         private static void OnAPKKMINWMGE2Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKKMINWMGE2 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKKMINWMGE2Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKKMINWMGE2=APKKMINWMGE2;
         }
          #endregion
        #region ==APKKABST2===========
         public static readonly DependencyProperty APKKABST2Property = DependencyProperty.Register("APKKABST2",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKKABST2Changed));
         public string APKKABST2
         {
             get
             {
                 return (string)GetValue(APKKABST2Property);
             }
             set
             {
                 SetValue(APKKABST2Property, value);
                 OnAPKKABST2Chg();
             }
         }
         private static void OnAPKKABST2Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKKABST2 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKKABST2Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKKABST2=APKKABST2;
         }
          #endregion
        #region ==APKKZE2===========
         public static readonly DependencyProperty APKKZE2Property = DependencyProperty.Register("APKKZE2",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKKZE2Changed));
         public string APKKZE2
         {
             get
             {
                 return (string)GetValue(APKKZE2Property);
             }
             set
             {
                 SetValue(APKKZE2Property, value);
                 OnAPKKZE2Chg();
             }
         }
         private static void OnAPKKZE2Changed(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKKZE2 = (string)e.NewValue;
             }
         }
         public virtual void OnAPKKZE2Chg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKKZE2=APKKZE2;
         }
          #endregion
        #region ==APKFILLER===========
         public static readonly DependencyProperty APKFILLERProperty = DependencyProperty.Register("APKFILLER",
             typeof(string), typeof(UIAPKOPF),
             new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnAPKFILLERChanged));
         public string APKFILLER
         {
             get
             {
                 return (string)GetValue(APKFILLERProperty);
             }
             set
             {
                 SetValue(APKFILLERProperty, value);
                 OnAPKFILLERChg();
             }
         }
         private static void OnAPKFILLERChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
         {
             var src = sender as UIAPKOPF;
             if (src != null)
             {
                 src.APKFILLER = (string)e.NewValue;
             }
         }
         public virtual void OnAPKFILLERChg()
         { 
         if(!IsEdit)
         return;
         if(dwMaster==null)
         return;
         TMV.APKFILLER=APKFILLER;
         }
          #endregion
        */

        #endregion
    }
}
